<template>
	<div class="banner-link">
		<div class="back" @click="clickBack"></div>
		<img :src="storeImg + '?x-oss-process=image/resize,m_fixed,w_750'" />
	</div>
</template>

<script>
export default {
	components: {
	},
	data() {
		return {
			storeImg: this.$store.state.bannerImgLink,
		}
	},
	created() {
		this.$store.dispatch("hideNav");
	},
	methods: {
		clickBack() {
			window.history.go(-1)
		}
	}
}
</script>

<style scoped="scoped" lang="less">
.banner-link {
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	position: relative;
	img {
		width: 100%;
	}
	.back {
		width: 70px;
		height: 48px;
		background: url(../assets/images/icon.png) no-repeat;
		background-size: 120px 250px;
		background-position: -65px -72px;
		position: absolute;
		top: 20px;
		left: 20px;
	}
}
</style>
